package com.darren.euc.util.light.dto;

import java.util.List;

/**
 * Created by hanji on 2018/3/15.
 */
public class GateWayDTO {
    //{"total":" 10","result":"success","cmd":"get_allfriend","offset":"0",
    // "usr":[{"type":"gateway","friend":"zg_bjdcq_pujikeji_aqhvo_s2a2b2u20f1r1n1_g","state":"online","friend_name":"台"}]} \

    private String total;
    private String result;
    private String cmd;
    private String offset;
    private List<GateWayInfo> usr;

    public String getTotal() {
        return total;
    }

    public void setTotal(String total) {
        this.total = total;
    }

    public String getResult() {
        return result;
    }

    public void setResult(String result) {
        this.result = result;
    }

    public String getCmd() {
        return cmd;
    }

    public void setCmd(String cmd) {
        this.cmd = cmd;
    }

    public String getOffset() {
        return offset;
    }

    public void setOffset(String offset) {
        this.offset = offset;
    }

    public List<GateWayInfo> getUsr() {
        return usr;
    }

    public void setUsr(List<GateWayInfo> usr) {
        this.usr = usr;
    }

    @Override
    public String toString() {
        return "DeviceDTO{" +
                "total='" + total + '\'' +
                ", result='" + result + '\'' +
                ", cmd='" + cmd + '\'' +
                ", offset='" + offset + '\'' +
                ", usr=" + usr +
                '}';
    }
}

